STATUS.PRG STATUS is a very simple demonstration of how to call STAT.OBJ from CLIPPER 5.x to obtain some information about your PC. STATUS is a cut down version of a hardware logging project I started that got canned. The idea was very simple: log machine stats to a DBF and check them each time the PC was re-booted. If anything had changed (disks, printer ports, comms ports, or the BIOS (i.e. the PC)) then log it as an incident to be followed up or used during help desk calls. It should be self explanatory but if not, contact me via CompuServe and I will enlighten you !! Please not that a C callable version is also available. Listed below are the available stats and some 'wishful thinking' . . . those without an asterisk !! 0 . . . . . stats version/ID string * 1 . . . . . DOS Version * 2 . . . . . BIOS ID start 3 . . . . . BIOS Date start 4 . . . . . BIOS ID * 5 . . . . . BIOS Date * 6 . . . . . LPT port status * 7 . . . . . COM port status * 8 . . . . . Floppy drive types * 9 . . . . . Fixed drive string * 10 . . . . . NETx Version 11 . . . . . IPX Version 12 . . . . . IPX ID string 13 . . . . . LAN ID string (Cray OSI address) ** 14 . . . . . MAC address * (sourced from NET DOS variable) 15 . . . . . Mouse operational/version 16 . . . . . Processor type * 17 . . . . . Co-Processor present * 18 . . . . . Get video mode/board * 20 . . . . . Drive C: size (bytes) 21 . . . . . Drive C: free (%) 22 . . . . . Drive D: size (bytes) 23 . . . . . Drive D: free (%) 24 . . . . . Drive E: size (bytes) 25 . . . . . Drive E: free (%) 30 . . . . . Base DOS memory 31 . . . . . Free DOS memorY 32-49 . . . . . Detailed DOS/memory data 50-69 . . . . . Detailed IPX data 70-89 . . . . . Detailed NETX data 90-109 . . . . . Detailed NETBIOS data 110-129 . . . . . Detailed LAN vendor data 130-139 . . . . . Detailed TCP/IP data * denotes operational in this version, others planned/reserved. Disclaimer ---------- The STATUS/STAT/CPUTEST programs have been designed for a certain use and has been tested for compatibility on a number of hardware types. We cannot, however, guarantee that it will work with any particular configuration or guarantee it's performance, even if used for it's intended purpose. We will in no way be responsible for any damage that may result from the use of this software. The software is supplied on an as-is basis and you use it at your own risk. We do request that you notify us (at the address below) with any problems you encounter but we are under no obligation to provide a remedy for any reported problems. License Terms ------------- STATUS/STAT/CPUTEST is supplied as shareware and you may use it for any purpose you feel suitable, on as many PCs as you like. You may re-distribute STATUS/STAT/CPUTEST only if this file accompanies it. In any case, you may not modify the program or this documentation in any way other than for your personal use. If you feel that STATUS/STAT/CPUTEST is useful and you continue it's use we would appreciate a small payment to assist with future development. We suggest $5.00 for a single user, $50.00 for a site. A developer's license allowing you to include the products in your own products will cost $100 per project. In return for any payment you will receive an update to the latest version. Source code for STAT/CPUTEST will be supplied with any donation over $50.00 and a sample set of other utilities by our company will be supplied in return for any payment over $25.00. Postal address: LAN Technologies PO Box 27-424 Mt Roskill NEW ZEALAND Compuserve user ID: 100033,2241